package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.ShippingEntity;
import com.zhenwei.zscm.model.dto.shipping.ShippingDTO;
import com.zhenwei.zscm.model.vo.shipping.ShippingVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ShippingMapping {
    ShippingMapping INSTANCE = Mappers.getMapper(ShippingMapping.class);
    ShippingEntity vo2Entity(ShippingVO vo);
    ShippingDTO entity2Dto(ShippingEntity entity);
    ShippingEntity dto2Entity(ShippingDTO dto);
}
